
<%@ page import="com.erpanderp.pr.model.entity.PurchaseRequestTransactionView" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'purchaseRequestTransactionView.label', default: 'PurchaseRequestTransactionView')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-purchaseRequestTransactionView" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-purchaseRequestTransactionView" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list purchaseRequestTransactionView">
			
				<g:if test="${purchaseRequestTransactionViewInstance?.purchaseRequestCode}">
				<li class="fieldcontain">
					<span id="purchaseRequestCode-label" class="property-label"><g:message code="purchaseRequestTransactionView.purchaseRequestCode.label" default="Purchase Request Code" /></span>
					
						<span class="property-value" aria-labelledby="purchaseRequestCode-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="purchaseRequestCode"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.sapPrNumber}">
				<li class="fieldcontain">
					<span id="sapPrNumber-label" class="property-label"><g:message code="purchaseRequestTransactionView.sapPrNumber.label" default="Sap Pr Number" /></span>
					
						<span class="property-value" aria-labelledby="sapPrNumber-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="sapPrNumber"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.documentType}">
				<li class="fieldcontain">
					<span id="documentType-label" class="property-label"><g:message code="purchaseRequestTransactionView.documentType.label" default="Document Type" /></span>
					
						<span class="property-value" aria-labelledby="documentType-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="documentType"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.itemNumber}">
				<li class="fieldcontain">
					<span id="itemNumber-label" class="property-label"><g:message code="purchaseRequestTransactionView.itemNumber.label" default="Item Number" /></span>
					
						<span class="property-value" aria-labelledby="itemNumber-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="itemNumber"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.accountAssignmentCategory}">
				<li class="fieldcontain">
					<span id="accountAssignmentCategory-label" class="property-label"><g:message code="purchaseRequestTransactionView.accountAssignmentCategory.label" default="Account Assignment Category" /></span>
					
						<span class="property-value" aria-labelledby="accountAssignmentCategory-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="accountAssignmentCategory"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.itemCategory}">
				<li class="fieldcontain">
					<span id="itemCategory-label" class="property-label"><g:message code="purchaseRequestTransactionView.itemCategory.label" default="Item Category" /></span>
					
						<span class="property-value" aria-labelledby="itemCategory-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="itemCategory"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.material}">
				<li class="fieldcontain">
					<span id="material-label" class="property-label"><g:message code="purchaseRequestTransactionView.material.label" default="Material" /></span>
					
						<span class="property-value" aria-labelledby="material-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="material"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.shortText}">
				<li class="fieldcontain">
					<span id="shortText-label" class="property-label"><g:message code="purchaseRequestTransactionView.shortText.label" default="Short Text" /></span>
					
						<span class="property-value" aria-labelledby="shortText-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="shortText"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.quantity}">
				<li class="fieldcontain">
					<span id="quantity-label" class="property-label"><g:message code="purchaseRequestTransactionView.quantity.label" default="Quantity" /></span>
					
						<span class="property-value" aria-labelledby="quantity-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="quantity"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.unit}">
				<li class="fieldcontain">
					<span id="unit-label" class="property-label"><g:message code="purchaseRequestTransactionView.unit.label" default="Unit" /></span>
					
						<span class="property-value" aria-labelledby="unit-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="unit"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.materialGroup}">
				<li class="fieldcontain">
					<span id="materialGroup-label" class="property-label"><g:message code="purchaseRequestTransactionView.materialGroup.label" default="Material Group" /></span>
					
						<span class="property-value" aria-labelledby="materialGroup-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="materialGroup"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.plant}">
				<li class="fieldcontain">
					<span id="plant-label" class="property-label"><g:message code="purchaseRequestTransactionView.plant.label" default="Plant" /></span>
					
						<span class="property-value" aria-labelledby="plant-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="plant"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.storageLocation}">
				<li class="fieldcontain">
					<span id="storageLocation-label" class="property-label"><g:message code="purchaseRequestTransactionView.storageLocation.label" default="Storage Location" /></span>
					
						<span class="property-value" aria-labelledby="storageLocation-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="storageLocation"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.purchasingGroup}">
				<li class="fieldcontain">
					<span id="purchasingGroup-label" class="property-label"><g:message code="purchaseRequestTransactionView.purchasingGroup.label" default="Purchasing Group" /></span>
					
						<span class="property-value" aria-labelledby="purchasingGroup-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="purchasingGroup"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.desiredVendor}">
				<li class="fieldcontain">
					<span id="desiredVendor-label" class="property-label"><g:message code="purchaseRequestTransactionView.desiredVendor.label" default="Desired Vendor" /></span>
					
						<span class="property-value" aria-labelledby="desiredVendor-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="desiredVendor"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.glAccount}">
				<li class="fieldcontain">
					<span id="glAccount-label" class="property-label"><g:message code="purchaseRequestTransactionView.glAccount.label" default="Gl Account" /></span>
					
						<span class="property-value" aria-labelledby="glAccount-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="glAccount"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.costCenter}">
				<li class="fieldcontain">
					<span id="costCenter-label" class="property-label"><g:message code="purchaseRequestTransactionView.costCenter.label" default="Cost Center" /></span>
					
						<span class="property-value" aria-labelledby="costCenter-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="costCenter"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.orderDetail}">
				<li class="fieldcontain">
					<span id="orderDetail-label" class="property-label"><g:message code="purchaseRequestTransactionView.orderDetail.label" default="Order Detail" /></span>
					
						<span class="property-value" aria-labelledby="orderDetail-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="orderDetail"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.network}">
				<li class="fieldcontain">
					<span id="network-label" class="property-label"><g:message code="purchaseRequestTransactionView.network.label" default="Network" /></span>
					
						<span class="property-value" aria-labelledby="network-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="network"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.transactionStatus}">
				<li class="fieldcontain">
					<span id="transactionStatus-label" class="property-label"><g:message code="purchaseRequestTransactionView.transactionStatus.label" default="Transaction Status" /></span>
					
						<span class="property-value" aria-labelledby="transactionStatus-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="transactionStatus"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.createdBy}">
				<li class="fieldcontain">
					<span id="createdBy-label" class="property-label"><g:message code="purchaseRequestTransactionView.createdBy.label" default="Created By" /></span>
					
						<span class="property-value" aria-labelledby="createdBy-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="createdBy"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.lastUpdatedBy}">
				<li class="fieldcontain">
					<span id="lastUpdatedBy-label" class="property-label"><g:message code="purchaseRequestTransactionView.lastUpdatedBy.label" default="Last Updated By" /></span>
					
						<span class="property-value" aria-labelledby="lastUpdatedBy-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="lastUpdatedBy"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.dateCreated}">
				<li class="fieldcontain">
					<span id="dateCreated-label" class="property-label"><g:message code="purchaseRequestTransactionView.dateCreated.label" default="Date Created" /></span>
					
						<span class="property-value" aria-labelledby="dateCreated-label"><g:formatDate date="${purchaseRequestTransactionViewInstance?.dateCreated}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.deliveryDate}">
				<li class="fieldcontain">
					<span id="deliveryDate-label" class="property-label"><g:message code="purchaseRequestTransactionView.deliveryDate.label" default="Delivery Date" /></span>
					
						<span class="property-value" aria-labelledby="deliveryDate-label"><g:formatDate date="${purchaseRequestTransactionViewInstance?.deliveryDate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.description}">
				<li class="fieldcontain">
					<span id="description-label" class="property-label"><g:message code="purchaseRequestTransactionView.description.label" default="Description" /></span>
					
						<span class="property-value" aria-labelledby="description-label"><g:fieldValue bean="${purchaseRequestTransactionViewInstance}" field="description"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.lastUpdated}">
				<li class="fieldcontain">
					<span id="lastUpdated-label" class="property-label"><g:message code="purchaseRequestTransactionView.lastUpdated.label" default="Last Updated" /></span>
					
						<span class="property-value" aria-labelledby="lastUpdated-label"><g:formatDate date="${purchaseRequestTransactionViewInstance?.lastUpdated}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${purchaseRequestTransactionViewInstance?.purchaseRequest}">
				<li class="fieldcontain">
					<span id="purchaseRequest-label" class="property-label"><g:message code="purchaseRequestTransactionView.purchaseRequest.label" default="Purchase Request" /></span>
					
						<span class="property-value" aria-labelledby="purchaseRequest-label"><g:link controller="purchaseRequest" action="show" id="${purchaseRequestTransactionViewInstance?.purchaseRequest?.id}">${purchaseRequestTransactionViewInstance?.purchaseRequest?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${purchaseRequestTransactionViewInstance?.id}" />
					<g:link class="edit" action="edit" id="${purchaseRequestTransactionViewInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
